<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>c2.2</title>
    <style ref="../rs/css/bootstrap.css"></style>
    <link rel="stylesheet" href="../rs/css/bootstrap.css">
    <link rel="stylesheet" href="../rs/css/bootstrap-theme.css">

    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="../rs/js/bootstrap.js"></script>
    <style type="text/css">
        .row >div {
            background: #b9def0;
        }
    </style>
</head>
<body>

<div class="container">
    <div class="row">
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>

    </div>
    <div class="row">
        <div class="col-md-8">.col-md-8</div>
        <div class="col-md-4">.col-md-4</div>

    </div>
    <div class="row">
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>

    </div>
    <div class="row">
        <div class="col-md-6">.col-md-6</div>
        <div class="col-md-6">.col-md-6</div>

    </div>
    <hr/>
    <div class="row">
        <div class="col-md-4">.cold-md-4</div>
        <div class="col-md-4 col-md-offset-04">col-md-4 col-md-offset-04</div>
    </div>
    <div class="row">
        <div class="col-md-4">.cold-md-4</div>
        <div class="col-md-4 col-md-offset-04">col-md-4 col-md-offset-04</div>
    </div>
    <div class="row">
        <div class="col-md-3 col-md-offset-03">col-md-3 col-md-offset-03</div>
        <div class="col-md-3 col-md-offset-03">col-md-3 col-md-offset-03</div>
    </div>
    <div class="row">
        <div class="col-md-6 col-md-offset-03">col-md-6 col-md-offset-03</div>
    </div>

    <hr/>
    <div class="row">
        <div class="col-md-9 col-md-push-3">
            Level 1: .col-md-9
            <div class="row">
                <div class="col-md-6">Level 2: .col-md-6</div>
                <div class="col-md-6">Level 2: .col-md-6</div>
            </div>
        </div>
        <div class="col-md-3 col-md-pull-9">.col-md-3
        </div>
    </div>
    <hr/>
    <div class="row">
        <div class="col-sm-12 col-md-8">col-sm-12 col-md-8</div>
        <div class="col-sm-6 col-md-4">col-sm-6 col-md-4</div>
    </div>
    <div class="row">
        <div class="col-sm-6">col-sm-6</div>
    </div>
    <div class="row">
        <div class="col-sm-6 col-md-4">col-sm-6 col-md-4</div>
        <div class="col-sm-6 col-md-4">col-sm-6 col-md-4</div>
        <div class="col-sm-6 col-md-4">col-sm-6 col-md-4</div>
    </div>

    <hr/>
    <div class="row">清除浮动</div>
    <div class="row">
        <div class="col-xs-6 col-sm-3">col-xs-6 col-sm-3 多加点内容多加点内容多加点内容多加点内容多加点内容多加点内容多加点内容多加点内容</div>
        <div class="col-xs-6 col-sm-3">col-xs-6 col-sm-3</div>
        <div class="clearfix visible-xs"></div>
        <div class="col-xs-6 col-sm-3">col-xs-6 col-sm-3</div>
        <div class="col-xs-6 col-sm-3">col-xs-6 col-sm-3</div>
    </div>
</div>

</body>
</html>